package service;

import java.util.Date;
import java.util.List;

import manager.BalanceManager;
import model.BalanceHistoryDO;

import com.iwallet.biz.common.util.money.Money;

public class BalanceServiceImpl implements BalanceService {
	private BalanceManager bm;
	@Override
	public Money queryAccBalance(String accNo) {
		return bm.queryAccBalance(accNo);
	}

	@Override
	public List<BalanceHistoryDO> queryBalanceHistory(String accNo,
			Date startDate, Date endDate) {
		return bm.queryBalanceHistory(accNo, startDate, endDate);
	}

	public void setBm(BalanceManager bm) {
		this.bm = bm;
	}

}
